package br.edu.fanor.esfinge.services.impl;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import br.edu.fanor.esfinge.entity.DadoProfissional;
import br.edu.fanor.esfinge.services.DadoProfissionalServiceRemote;

@Stateless
public class DadoProfissionalServiceImpl implements DadoProfissionalServiceRemote{
	
	@PersistenceContext
	private EntityManager em; 

	@Override
	public DadoProfissional inserir(DadoProfissional dado_profissional) {
		em.persist(dado_profissional);
		return dado_profissional;
	}
	
	

}
